/* pages/home/index.wxss */
scroll-view {
  height: 100vh;
  background-color: #f0efff;
  ::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    color: transparent;
  }
}

.banner {
  swiper {
    width: 100%;
    height: 562rpx;

    .banner-image {
      width: 100%;
      height: 562rpx;
    }
  }
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-36rpx);

  .dinner-time {
    display: flex;
    margin-bottom: 32rpx;
    align-items: center;
    justify-content: space-between;
    width: 686rpx;
    height: 370rpx;
    background: #ffffff;
    border-radius: 16rpx;
    font-size: 28rpx;
    line-height: 40px;
    box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.08);

    .blank {
      width: 2rpx;
      height: 280rpx;
      background: #f2f2f2;
    }
    .dinner-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;

      .dinner-img {
        width: 120rpx;
        height: 120rpx;
      }

      .title {
        height: 48rpx;
        line-height: 48rpx;
        font-size: 36rpx;
      }

      .desc {
        margin-top: 8rpx;
        height: 36rpx;
        line-height: 36rpx;
        font-size: 24rpx;
        color: #ff007f;
      }
    }
  }

  .desired {
    display: flex;
    flex-wrap: wrap;
    width: 686rpx;
    justify-content: space-between;

    :nth-child(n + 3) {
      margin-top: 16rpx;
    }
  }
}

.integral {
  display: flex;
  margin-top: 48rpx;
  padding: 0 46rpx 0 32rpx;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 146rpx;
  box-sizing: border-box;

  .integral-left {
    flex: 1;
    display: flex;
    height: 94rpx;
    flex-direction: column;
    justify-content: space-around;

    .title {
      font-size: 32rpx;
      line-height: 32rpx;
      color: #1677ff;
      font-weight: bolder;
    }

    .desc {
      font-size: 28rpx;
      line-height: 28rpx;
      color: #ff007f;
    }
  }

  .integral-right {
    width: 164rpx;
    height: 94rpx;

    .QR-code-box {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
      height: 94rpx;
      border-left: 2rpx solid #f2f2f2;

      .QR-code {
        width: 60rpx;
      }

      .desc {
        font-size: 28rpx;
        color: #1677ff;
        font-weight: bolder;
      }
    }
  }
}
